package com.chushouya.order.dao.mapper;

import com.general.framework.data.mybatis.MybatisMapper;
import com.chushouya.order.dao.entity.StatManageDayEntity;
import com.chushouya.order.dto.admin.stat.ManageDataDTO;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

public interface StatManageDayEntityMapper extends MybatisMapper<StatManageDayEntity, Long> {
    Integer selectVisitCount(@Param("startTime") Date startTime, @Param("endTime")Date endTime);

    Integer selectOrderCount(@Param("startTime")Date startTime, @Param("endTime")Date endTime);

    Integer selectUserCount(@Param("startTime")Date startTime, @Param("endTime")Date endTime);

    Integer selectEvaluateCount(@Param("startTime")Date startTime, @Param("endTime")Date endTime);

    Integer selectProductCount();

    ManageDataDTO selectManageCount(@Param("startTime")Date startTime, @Param("endTime")Date endTime);
}